package com.example.enums;

/**
 * Description:
 * User: 阿宾
 * Date: 2025-04-25
 * Time: 14:40
 */
public enum ResultStatus {
    SUCCESS(200),
    FAIL(-1),
    NOLOGIN(-2),
    ;
    private int code;

    //构造方法
    ResultStatus(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
